﻿
using System.Collections.Generic;

public class PlayerBase
{

    /// <summary> 昵称 </summary>
    public int name { get; set; }
    /// <summary> 分数 </summary>
    public int score { get; set; }
    /// <summary> 同时发射弹数 </summary>
    public int shotCount { get; set; }
    /// <summary> 等级 </summary>
    public int lvl { get; set; }
    /// <summary> 血量 </summary>
    public float hp { get; set; }
    /// <summary> 血量上限 </summary>
    public float max_hp { get; set; }
    /// <summary> 经验值 </summary>
    public float exp { get; set; }
    /// <summary> 拾取经验球获得的经验值 </summary>
    public float expBall_value { get; set; }
    /// <summary> 经验值上限 </summary>
    public float max_exp { get; set; }
    /// <summary> 移动速度 </summary>
    public float speed { get; set; }
    /// <summary> 攻击力 </summary>
    public float atk { get; set; }
    /// <summary> 防御力 </summary>
    public float def { get; set; }

    /// <summary> 拾取物品的范围 </summary>
    public float pickUpRange { get; set; }
    /// <summary> 攻击射程 </summary>
    public float atkRange { get; set; }

    //单例模式
    //private static PlayerBase @player = new PlayerBase();
    //private PlayerBase() { }

    //public static PlayerBase PlayerData()
    //{
    //    return @player;
    //}
    public PlayerBase()
    {
       
    }

}